package pms.userkanri.service;

import java.text.ParseException;
import java.util.List;

import pms.common.utils.PMSLog;
import pms.common.value.UserDataValue;
import pms.common.value.UserSessionValue;
import pms.common.dao.UserDataDao;


public class UserkanriServiceImpl implements UserkanriService {

	private UserDataDao userdataDao;
	
	public UserDataDao getUserdataDao() {
		return userdataDao;
	}

	public void setUserdataDao(UserDataDao userdataDao) {
		this.userdataDao = userdataDao;
	}

	public List<UserDataValue> select(int userid, String userRights,int userGroupId){
		return userdataDao.select(userid,userRights,userGroupId);	
	}
	
	public void insert(UserDataValue value)throws ParseException {
		userdataDao.insert(value);

	}

	public void update(UserDataValue value)throws ParseException {
		userdataDao.update(value);
	}	
	
	public void delete(UserDataValue value){
		userdataDao.delete(value);
	}
}
